<?php
App::uses('Component', 'Controller');
class PicComponent extends Component {
    public function getMainImageList() {
    	$this->Image = ClassRegistry::init('Pic');
        return $this->Image->findAllBym_img_is_main_flash('1');
    }
}
?>